Skip to content

Fix bidi reordering for indices absorbed into glyph clusters - #3459

Open
loaialaddien wants to merge 3 commits into
diegomura:masterfrom
loaialaddien:fix/textkit-bidi-cluster-mapping
Open

Fix bidi reordering for indices absorbed into glyph clusters#3459
loaialaddien wants to merge 3 commits into
diegomura:masterfrom
loaialaddien:fix/textkit-bidi-cluster-mapping

Conversation

@loaialaddien

Copy link
Copy Markdown

Summary

Prevent bidi reordering from dereferencing a missing glyph mapping when complex-script shaping absorbs a source position into an existing glyph cluster.

Cases covered:

  • abc र्क ابج def — regression case.
  • abc र्क def — complex-script control.
  • abc ابج def — RTL control.
  • abc किंतु ابج def — additional mixed-script control.

Without the fix, the regression case throws at glyph.id.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant